<LINK href="../images/Default.css" type=text/css rel=stylesheet>
<?php
//------------------------------------------------------------------------------
// File 			  : V_MeovatView
// Modification       :
//------------------------------------------------------------------------------
// Date(yyyy.mm.dd)   Developer                       Action
//------------------------------------------------------------------------------
// 2007.03.15         Oanhhtk                         Created
//------------------------------------------------------------------------------

function V_TintucView(&$arrayData,&$arrayData2){
	global $LANG;
    $ulr = "?".MODUL."=tintuc&".ACTION."=";
?>
<?= CM_showError() ?> 
<?

?>
<div class="title" style="margin-left:10px; width:10px; height:30px; float:left"></div><p style="float:left; line-height:30px; font-weight:bold; color:#FFFFFF; background: url(../images/modul_c.gif)"><?=$arrayData['tieu_de']?></p><div class="title2" style="width:10px; height:30px; float:left"></div><div style="clear:both"></div>
	<div class="bg_l_t"><div class="bg_r_t"><div class="bg_c_t"></div></div></div>
<table width="100%" cellpadding="0" cellspacing="0" class="khung_home" style="padding-right:10px; text-align:justify; line-height:18px; ">
	<tr>
		<td style=" padding-bottom:4px;">
			<font style="font-family:tahoma; font-weight:bold; font-size:14px; text-decoration:none; color:#007DEB;  ">
			<?=$arrayData['tieu_de']?>
			</font>
		</td>
	</tr>
	<tr>
		<td>
			<font style="font-family:tahoma; font-size:12px; color:#666666; line-height:18px;">
			<?
				if($arrayData['nguon_tin']!=""){
			?>
			(<?=$arrayData['nguon_tin']?>) - 
			<?
				}
			?>
			<?=$arrayData['tom_tat']?>
			</font>
		</td>
	</tr>
	<tr>
		<td style=" padding-bottom:4px; line-height:18px;" align="justify">
			<font style="font-family:tahoma; font-size:12px; line-height:18px;"><?=$arrayData['noi_dung']?></font>
		</td>
	</tr>
	
	<?
		if(!empty($arrayData2)){
	?>
	<tr>
		<td style="border-bottom:1px solid #FF0000; padding-bottom:2px; padding-top:20px; ">
			<font style="font-family:tahoma; font-weight:bold; font-size:14px; color:#004175; ">Các tin đã đăng:</font>
		</td>
	</tr>
	
	<tr>
		<td style="padding-top:5px; ">
	<?
			foreach($arrayData2 as $row2){
	?>
	
			<ul>
				<li>
					<font style="font-family:tahoma; font-weight:bold; font-size:13px; text-decoration:none; color:#004175; ">&bull;</font> 
					&nbsp;<a href="?modul=tintuc&action=View&id=<?=$row2['id']?>" class="title_next"><?=$row2['tieu_de']?></a>
				</li>
			</ul>
		
	<?
			}//end foreach
	?>
		</td>
	</tr>
	<?
		}//end if(!empty($arrayData2))
	?>
</table>
<div class="bg_l_b"><div class="bg_r_b"><div class="bg_c_b"></div></div></div>
<?php
}
?>